﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elements.Shapes
{
    /// <summary>
    /// 圆形定义
    /// </summary>
    public class EllipseShapeV6 : ShapeBaseV5
    {
        public override GraphicsPath GetShapeGPath(Rectangle rect)
        {
            var gp = new GraphicsPath();
            gp.Reset();
            gp.AddEllipse(rect);
            gp.CloseFigure();
            return gp;
        }
    }
}
